﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DWEIP.Web.Core;
using System.Net.Http;

namespace DWEIP.Web.Controllers
{
    /// <summary>
    /// 為DWFlow提供服務端api
    /// </summary>
    public class FlowController : BaseController
    {
        // GET: Flow
        public ActionResult Index()
        {
            return View();
        }

        [HttpGet]
        public ActionResult SetThemes1(string theme, string menu)
        {

            return Json("1", JsonRequestBehavior.AllowGet);
        }

        [HttpPost]
        public JsonResult SetThemes(string theme, string menu, bool topmenu)
        {
            //HttpContent content = HttpRequest.Content;

            return Json("1", JsonRequestBehavior.AllowGet);
        }

    }
}